package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师担任国际比赛评委、裁判人员对象 t_teacher_pk
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TTeacherPk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 教师名称 */
    @Excel(name = "教师名称")
    private String name;

    /** 比赛名称 */
    @Excel(name = "比赛名称")
    private String pkName;

    /** 比赛时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pkTime;

    /** 担任职务 */
    @Excel(name = "担任职务")
    private String zw;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPkName(String pkName) 
    {
        this.pkName = pkName;
    }

    public String getPkName() 
    {
        return pkName;
    }
    public void setPkTime(Date pkTime) 
    {
        this.pkTime = pkTime;
    }

    public Date getPkTime() 
    {
        return pkTime;
    }
    public void setZw(String zw) 
    {
        this.zw = zw;
    }

    public String getZw() 
    {
        return zw;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("pkName", getPkName())
            .append("pkTime", getPkTime())
            .append("zw", getZw())
            .toString();
    }
}
